package com.kwok.hotel.es.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 酒店表(Hotel)表实体类
 *
 * @author makejava
 * @since 2024-06-22 17:07:14
 */
@Data
@Accessors(chain = true)
public class Hotel implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    //酒店标题
    private String subject;
    //酒店图片
    private String image;
    //价格
    private Double price;
    //评分
    private Float score;
    //标签，用逗号分隔
    private String tags;
    //星级
    private Integer star;
    //经度
    private Double lon;
    //纬度
    private Double lat;

}

